package com.xgimi.open.skill.datamanager.service.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xgimi.open.skill.datamanager.service.response.constants.DateConstant;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author coderzpw.zhang
 * @version 1.0
 * @description 描述
 * @date 2023/3/15 10:19
 */
@Data
public class WordEntryDTO implements Serializable {
    private Long id;
    private String value;
    private String synonyms;
    @DateTimeFormat(pattern = DateConstant.PATTERN)
    @JsonFormat(pattern = DateConstant.PATTERN, timezone = "GMT+8")
    private Date createdAt;
}
